package com.ysq.www.api.front.service.impl;

import com.ysq.www.api.front.entity.Activity;
import com.ysq.www.api.front.entity.ActivityApply;
import com.ysq.www.api.front.mapper.ActivityApplyMapper;
import com.ysq.www.api.front.mapper.ActivityMapper;
import com.ysq.www.api.front.service.IActivityApplyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 活动报名表 服务实现类
 * </p>
 *
 * @author dql
 * @since 2020-08-08
 */
@Service
public class ActivityApplyServiceImpl extends ServiceImpl<ActivityApplyMapper, ActivityApply> implements IActivityApplyService {

    @Autowired
    private ActivityMapper activityMapper;



    @Override
    public void add(Integer userId, Integer activityId) {
        Activity activity = activityMapper.selectById(activityId);


    }
}
